package com.kaba.bean.json;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @BelongsProject：st-project
 * @BelongsPackage：com.kaba.bean.json
 * @Author：pvz77
 * @CreateTime：2021-03-03 16:34
 * @Description： TODO
 *
 * AteAt.Date
 */
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Date {

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonProperty("$numberLong")
    private java.util.Date numberLong;

    public java.util.Date getNumberLong() { return numberLong; }
    public void setNumberLong(java.util.Date value) { this.numberLong = value; }
}
